package com.fhyc.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fhyc.common.XPage;
import com.fhyc.dto.AccuracyIndexDTO;
import com.fhyc.entity.SoInBusLoadAccuracyEntity;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;

/**
 * @author 胡辰昊
 * @description 针对表【bu_bus_load_accuracy_stats_1m(负荷准确率统计表)】的数据库操作Mapper
 * @createDate 2024-07-17 17:32:14
 * @Entity com.zhaoye.lfs.orm.entity.bu.BuBusLoadAccuracyStatsEntity
 */
public interface SoInBusLoadAccuracyStatsEntityMapper extends BaseMapper<SoInBusLoadAccuracyEntity> {
    XPage<AccuracyIndexDTO> queryAccuracyIndex(XPage<AccuracyIndexDTO> page,
                                               @Param("date") LocalDate dataDate,
                                               @Param("busId") String id);

    XPage<AccuracyIndexDTO> queryAccuracyIndexNow(XPage<AccuracyIndexDTO> page,
                                                  LocalDate dataDate,
                                                  String id);
}




